using System;
using spData.Common;
using spData.Common.Mappings;

namespace spMapping
{
	[Table]
	[Serializable]
	public class TASKS : DataObject
	{

		[ID] 
 		[DID]
		public String TASKID { get { return _TASKID; } set { _TASKID = value; EntityState.FieldChange("TASKID"); } }
		private String _TASKID;
		public static FieldInfo taskid = new FieldInfo("TASKS", "TASKID");

		[Column]
		public String PROCESSNAME { get { return _PROCESSNAME; } set { _PROCESSNAME = value; EntityState.FieldChange("PROCESSNAME"); } }
		private String _PROCESSNAME;
		public static FieldInfo processname = new FieldInfo("TASKS", "PROCESSNAME");

		[Column]
		public Int32 PROCESSVERSION { get { return _PROCESSVERSION; } set { _PROCESSVERSION = value; EntityState.FieldChange("PROCESSVERSION"); } }
		private Int32 _PROCESSVERSION;
		public static FieldInfo processversion = new FieldInfo("TASKS", "PROCESSVERSION");

		[Column]
		public Int32 INCIDENT { get { return _INCIDENT; } set { _INCIDENT = value; EntityState.FieldChange("INCIDENT"); } }
		private Int32 _INCIDENT;
		public static FieldInfo incident = new FieldInfo("TASKS", "INCIDENT");

		[Column]
		public String STEPID { get { return _STEPID; } set { _STEPID = value; EntityState.FieldChange("STEPID"); } }
		private String _STEPID;
		public static FieldInfo stepid = new FieldInfo("TASKS", "STEPID");

		[Column]
		public String STEPLABEL { get { return _STEPLABEL; } set { _STEPLABEL = value; EntityState.FieldChange("STEPLABEL"); } }
		private String _STEPLABEL;
		public static FieldInfo steplabel = new FieldInfo("TASKS", "STEPLABEL");

		[Column]
		public String RECIPIENT { get { return _RECIPIENT; } set { _RECIPIENT = value; EntityState.FieldChange("RECIPIENT"); } }
		private String _RECIPIENT;
		public static FieldInfo recipient = new FieldInfo("TASKS", "RECIPIENT");

		[Column]
		public Int32 RECIPIENTTYPE { get { return _RECIPIENTTYPE; } set { _RECIPIENTTYPE = value; EntityState.FieldChange("RECIPIENTTYPE"); } }
		private Int32 _RECIPIENTTYPE;
		public static FieldInfo recipienttype = new FieldInfo("TASKS", "RECIPIENTTYPE");

		[Column]
		public String TASKUSER { get { return _TASKUSER; } set { _TASKUSER = value; EntityState.FieldChange("TASKUSER"); } }
		private String _TASKUSER;
		public static FieldInfo taskuser = new FieldInfo("TASKS", "TASKUSER");

		[Column]
		public String ASSIGNEDTOUSER { get { return _ASSIGNEDTOUSER; } set { _ASSIGNEDTOUSER = value; EntityState.FieldChange("ASSIGNEDTOUSER"); } }
		private String _ASSIGNEDTOUSER;
		public static FieldInfo assignedtouser = new FieldInfo("TASKS", "ASSIGNEDTOUSER");

		[Column]
		public Int32 STATUS { get { return _STATUS; } set { _STATUS = value; EntityState.FieldChange("STATUS"); } }
		private Int32 _STATUS;
		public static FieldInfo status = new FieldInfo("TASKS", "STATUS");

		[Column]
		public Int32 SUBSTATUS { get { return _SUBSTATUS; } set { _SUBSTATUS = value; EntityState.FieldChange("SUBSTATUS"); } }
		private Int32 _SUBSTATUS;
		public static FieldInfo substatus = new FieldInfo("TASKS", "SUBSTATUS");

		[Column]
		public System.DateTime STARTTIME { get { return _STARTTIME; } set { _STARTTIME = value; EntityState.FieldChange("STARTTIME"); } }
		private System.DateTime _STARTTIME;
		public static FieldInfo starttime = new FieldInfo("TASKS", "STARTTIME");

		[Column]
		public System.DateTime ENDTIME { get { return _ENDTIME; } set { _ENDTIME = value; EntityState.FieldChange("ENDTIME"); } }
		private System.DateTime _ENDTIME;
		public static FieldInfo endtime = new FieldInfo("TASKS", "ENDTIME");

		[Column]
		public System.DateTime QSTARTTIME { get { return _QSTARTTIME; } set { _QSTARTTIME = value; EntityState.FieldChange("QSTARTTIME"); } }
		private System.DateTime _QSTARTTIME;
		public static FieldInfo qstarttime = new FieldInfo("TASKS", "QSTARTTIME");

		[Column]
		public System.DateTime QENDTIME { get { return _QENDTIME; } set { _QENDTIME = value; EntityState.FieldChange("QENDTIME"); } }
		private System.DateTime _QENDTIME;
		public static FieldInfo qendtime = new FieldInfo("TASKS", "QENDTIME");

		[Column]
		public System.DateTime DELAYTIME { get { return _DELAYTIME; } set { _DELAYTIME = value; EntityState.FieldChange("DELAYTIME"); } }
		private System.DateTime _DELAYTIME;
		public static FieldInfo delaytime = new FieldInfo("TASKS", "DELAYTIME");

		[Column]
		public System.DateTime OVERDUETIME { get { return _OVERDUETIME; } set { _OVERDUETIME = value; EntityState.FieldChange("OVERDUETIME"); } }
		private System.DateTime _OVERDUETIME;
		public static FieldInfo overduetime = new FieldInfo("TASKS", "OVERDUETIME");

		[Column]
		public System.DateTime URGENTDUETIME { get { return _URGENTDUETIME; } set { _URGENTDUETIME = value; EntityState.FieldChange("URGENTDUETIME"); } }
		private System.DateTime _URGENTDUETIME;
		public static FieldInfo urgentduetime = new FieldInfo("TASKS", "URGENTDUETIME");

		[Column]
		public System.Double TASKRATE { get { return _TASKRATE; } set { _TASKRATE = value; EntityState.FieldChange("TASKRATE"); } }
		private System.Double _TASKRATE;
		public static FieldInfo taskrate = new FieldInfo("TASKS", "TASKRATE");

		[Column]
		public Int32 TASKTIME { get { return _TASKTIME; } set { _TASKTIME = value; EntityState.FieldChange("TASKTIME"); } }
		private Int32 _TASKTIME;
		public static FieldInfo tasktime = new FieldInfo("TASKS", "TASKTIME");

		[Column]
		public System.Double COST { get { return _COST; } set { _COST = value; EntityState.FieldChange("COST"); } }
		private System.Double _COST;
		public static FieldInfo cost = new FieldInfo("TASKS", "COST");

		[Column]
		public String HELPURL { get { return _HELPURL; } set { _HELPURL = value; EntityState.FieldChange("HELPURL"); } }
		private String _HELPURL;
		public static FieldInfo helpurl = new FieldInfo("TASKS", "HELPURL");

		[Column]
		public String NOTES { get { return _NOTES; } set { _NOTES = value; EntityState.FieldChange("NOTES"); } }
		private String _NOTES;
		public static FieldInfo notes = new FieldInfo("TASKS", "NOTES");

		[Column]
		public String REFERER { get { return _REFERER; } set { _REFERER = value; EntityState.FieldChange("REFERER"); } }
		private String _REFERER;
		public static FieldInfo referer = new FieldInfo("TASKS", "REFERER");

		[Column]
		public System.Byte[] LOCALSS { get { return _LOCALSS; } set { _LOCALSS = value; EntityState.FieldChange("LOCALSS"); } }
		private System.Byte[] _LOCALSS;
		public static FieldInfo localss = new FieldInfo("TASKS", "LOCALSS");
	}
}
